export const mixin = {
    methods: {
        alertName() {
            alert(this.name);
        }
    },
    mounted: function() {
        console.log("Component mounted.");
    }
}

export const mixin2 = {
    data() {
        return {
            x: 100,
            y: 200
        }
    }
}